package com.mystudio.android.calendar.util;

import android.text.format.Time;

public class LunarCalendarTest {
	public static void main(String[] argv) {
	    LunarCalendar lunar = new LunarCalendar();
	    Time date = new Time();
	    date.year = 0;
	    date.month = 1;
	    date.monthDay = 1;
	    long millis = date.normalize(true);
	    int julianDay = Time.getJulianDay(millis, date.gmtoff);
	    lunar.setSolarDate(julianDay);
	    System.out.println("Lunar: " + lunar.year + "-" + lunar.month + "-" + lunar.monthDay);
	}
}
